/*
==========================================================
Piece Class Header
DevX Team
==========================================================
*/

#ifndef _PIECE_H_
#define _PIECE_H_

#include "Structures.h"
#include <iostream>

using namespace std;

class dxPiece
{

	public:
		dxPiece();
		~dxPiece();
		virtual player_t			CurrentPlayer();
		virtual pieceType_t		GetType();
		virtual piecePos_t      GetPosition();
		virtual void					Draw(int x, int y)=0;
		virtual bool CheckMove(int toX,int toY);
	protected:
		piecePos_t      piecePosition;
		pieceType_t		pieceType;
		player_t			currentPlayer;
		int color_t;
};

#endif